Skip to content

chore: tidy .gitignore and the retag workflow - #358

Merged
shenxianpeng merged 1 commit into
mainfrom
chore/gitignore-retag
Nov 23, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
chore/gitignore-retag

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Two leftovers, no change in what anything does.

Before vs after

File Before After
.gitignore ignores result.txt, which nothing has written since the report moved to the job summary (#251) ignores .pytest_cache/, .ruff_cache/ and .mypy_cache/, which the test and lint runs do create
retag.yml trigger release: branches: [main] release: types: [released]: GitHub does not apply a branch filter to release events, so the line did nothing
retag.yml steps two near-identical steps, one for a release (v2) and one for a manual run (the input tag) one step with TAG: ${{ inputs.tag || 'v2' }}

A release still moves v2 to the release's commit: on a release event, checkout uses the release tag. A manual run still moves the tag it is given. The tag message is the same as before: Retag v2.

- .gitignore: result.txt has not been written since the report moved
  to the job summary; ignore the pytest, ruff and mypy caches instead.
- retag.yml: drop the branches filter on the release trigger, which
  GitHub does not apply to release events, and fold the two retag steps
  into one: a release still moves v2, a manual run the tag it names.
@shenxianpeng
shenxianpeng requested a review from a team as a code owner November 23, 2026 20:25
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2a67cad8-a245-4ab8-aeba-a92712969400
Commits

Reviewing files that changed from the base of the PR and between e62bdaf and 0d8240a.

Files selected for processing: 2

  • .github/workflows/retag.yml
  • .gitignore
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@shenxianpeng shenxianpeng self-assigned this Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

✔ Commit Check passed

✔ Pull request: 2 passed
✔ Commits: passed
✔ Author: 2 passed
✔ Branch: passed

All 6 checks
Pull request
  ✔ title        chore: tidy .gitignore and the retag workflow
  ✔ description  no AI attribution
Commits
  ✔ 0d8240a      chore: tidy .gitignore and the retag workflow
Author
  ✔ name         Xianpeng Shen
  ✔ email        3353385+shenxianpeng@users.noreply.github.com
Branch
  ✔ branch       chore/gitignore-retag

Checked by Commit Check 2.24.1 · Rules · Check before you push

@github-actions github-actions Bot added the ai-assisted Written with the help of an AI tool label Nov 23, 2026
@shenxianpeng shenxianpeng removed the ai-assisted Written with the help of an AI tool label Nov 23, 2026 — with Claude
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ca4bb6d) to head (0d8240a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #358   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1281      1281           
=========================================
  Hits          1281      1281           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shenxianpeng shenxianpeng added the maintenance Maintenance update label Nov 23, 2026
@shenxianpeng
shenxianpeng merged commit 496e6dc into main Nov 23, 2026
19 of 22 checks passed
@shenxianpeng
shenxianpeng deleted the chore/gitignore-retag branch November 23, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant